<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/18
 * Time: 15:46
 */

namespace addons\seller\service;


class Admin
{
    static function list_($param)
    {
        $c = new \app\common\model\Admin();
        $r_data = $c
            ->field("shop_users.*,shop_admin.*")
            ->where($param)
            ->join("shop_users","shop_users.id = shop_admin.user_id")
            ->paginate();
        return $r_data;
    }
}